//
// by Jan Eric Kyprianidis <www.kyprianidis.com>
// Copyright (C) 2010-2012 Computer Graphics Systems Group at the
// Hasso-Plattner-Institut, Potsdam, Germany <www.hpi3d.de>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
#pragma once

#include <oz/gpu_image.h>

namespace oz {

    OZAPI void blit( gpu_image& dst, unsigned x, unsigned y, const gpu_image& src,
                     unsigned sx, unsigned sy, unsigned sw, unsigned sh  );

    OZAPI gpu_image vstack( const gpu_image& a, const gpu_image& b, int spacing = 4);
    OZAPI gpu_image vstack( const gpu_image& a, const gpu_image& b, const gpu_image& c, int spacing = 4);
    OZAPI gpu_image vstack( const gpu_image& a, const gpu_image& b,
                            const gpu_image& c, const gpu_image& d, int spacing = 4);

    OZAPI gpu_image vstack_alpha( const gpu_image& src, int spacing = 4);
    OZAPI gpu_image vstack_channel( const gpu_image& src, int spacing = 4);

}
